// 定义数组
let arry1: number[] = [12, 3, 4, 5];
let arry2: Array<number> = [123, 234];

let arr3: string[] = ["12", "34"];
let arry4: Array<string> = ["213"]

// 元组 ： 规定数组中每一项数据
let Tus: [string, number, boolean] = ['123e2', 12, true]

Tus[0]


let obj: object = {
    name: '张三',
    age: 18
}

let obj1: { name: string, age: number, sex: boolean } = {
    name: '张三',
    age: 90,
    sex: true
}

let arry5: Array<{ name: string, age: number, sex: boolean }> = [
    {
        name: '张三',
        age: 90,
        sex: true
    }

]